import React,{ReactChild} from "react";
import styled from "styled-components";
type propsType = {
    title:string
}
const pageNav = (props:any):JSX.Element => (
  <div className="content br2">
    <PageNav>{props.title}</PageNav>
    {props.children}
  </div>
)
export default pageNav;

const PageNav = styled.div`
  height: 16px;
  line-height: 16px;
  font-weight: bold;
  margin-bottom: 14px;
  border-left: 2px solid #1890ff;
  padding-left: 8px;
`;
